/*
 * Hibernate Search, full-text search for your domain model
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.search.mapper.orm.scope.impl;

import javax.persistence.EntityManager;

import org.hibernate.search.engine.backend.session.spi.DetachedBackendSessionContext;
import org.hibernate.search.mapper.orm.massindexing.impl.HibernateOrmMassIndexingMappingContext;
import org.hibernate.search.mapper.orm.search.loading.impl.HibernateOrmLoadingMappingContext;

public interface HibernateOrmScopeMappingContext
		extends HibernateOrmMassIndexingMappingContext, HibernateOrmLoadingMappingContext {

	HibernateOrmScopeSessionContext sessionContext(EntityManager entityManager);

	DetachedBackendSessionContext detachedBackendSessionContext(String tenantId);

}
